package org.rc.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.rc.dto.RoomPageDto;
import org.rc.entity.Room;

import java.util.List;

public interface RoomService {
    Long add(String name);

    void updateRoom(Room room);

    void deleteRoom(Long roomId);

    List<Room> getByRoomIds(List<Long> roomIds);

    void deleteRooms(List<Long> roomIds);

    Page<Room> getRoomPage(RoomPageDto pageDto);

    Room getByRoomId(Long roomId);

    List<Room> getByRoomName(String name);
    List<Room> getByRoomName(String name,Long id);
    List<Room> getAllRooms();
}
